package router

import (
	"github.com/gin-gonic/gin"
	"hera-admin/controller/k8s"
)

func InitContainerRouter( r *gin.RouterGroup)  {
	K8sClusterRouter := r.Group("k8s")
	{
		K8sClusterRouter.POST("events",k8s.Events)
		K8sClusterRouter.POST("cluster", k8s.CreateK8SCluster)
		K8sClusterRouter.GET("cluster", k8s.ListK8SCluster)
		K8sClusterRouter.POST("cluster/delete", k8s.DelK8SCluster)
		K8sClusterRouter.GET("node", k8s.GetNodes)
	}
}
